home *** CD-ROM | disk | FTP | other *** search
/ CDUTIL 13 / CDUTIL #13 Julio 1995.iso / windows / acadcom / acrx / inc / adeskabb.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-02-08  |  3.0 KB  |  92 lines

  1. #ifndef AD_ADESKABB_H
  2. #define AD_ADESKABB_H
  3. //
  4. //
  5. /*
  6.    Copyright (C) 1992, 1993, 1994 by Autodesk, Inc.
  7.  
  8.    Permission to use, copy, modify, and distribute this software in 
  9.    object code form for any purpose and without fee is hereby granted, 
  10.    provided that the above copyright notice appears in all copies and 
  11.    that both that copyright notice and the limited warranty and 
  12.    restricted rights notice below appear in all supporting 
  13.    documentation.
  14.  
  15.    AUTODESK PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.  
  16.    AUTODESK SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF 
  17.    MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE.  AUTODESK, INC.
  18.    DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE 
  19.    UNINTERRUPTED OR ERROR FREE.
  20.  
  21.    Use, duplication, or disclosure by the U.S. Government is subject to 
  22.    restrictions set forth in FAR 52.227-19 (Commercial Computer 
  23.    Software - Restricted Rights) and DFAR 252.227-7013(c)(1)(ii) 
  24.    (Rights in Technical Data and Computer Software), as applicable.
  25.     
  26.    .
  27. */
  28. // DESCRIPTION:
  29. //
  30. // Using the fully qualified names from the `Adesk' struct can be
  31. // cumbersome.    If there are no global name conflicts use the
  32. // following synonyms for convenience.
  33. //
  34. // Note:  All interface descriptions must use fully qualified names.
  35. //      That is, header files MUST NOT include this file and MUST
  36. //      NOT use these abbreviations.
  37. //
  38. // Note:  If any of the following abbreviations cause conflicts and
  39. //      this file cannot be included, then the acceptable abbreviations
  40. //      (those that do not cause conflicts) will have to be manually
  41. //      introduced, or another abbreviation header file will have to
  42. //      be created containing only the acceptable abbreviations.
  43. //
  44. // Note:  When this file is included in a source file, it MUST BE
  45. //      included AFTER all other include files (except possibly
  46. //      other abbreviation include files).
  47. //      For example:
  48. //            #include "foo.h"
  49. //            #include "bar.h"
  50. //            #include "adeskabb.h" // <- Must be last!
  51.  
  52. #include "adesk.h"
  53.  
  54. typedef Adesk::Int8        Int8;
  55. typedef Adesk::Int16        Int16;
  56. typedef Adesk::Int32        Int32;
  57. typedef Adesk::UInt8        UInt8;
  58. typedef Adesk::UInt16        UInt16;
  59. typedef Adesk::UInt32        UInt32;
  60. // TEMPORARY.  WILL BE RIPPED OUT!
  61. typedef Adesk::Real        Real;
  62.  
  63. typedef Adesk::uchar        uchar;
  64. typedef Adesk::ushort        ushort;
  65. typedef Adesk::uint        uint;
  66. typedef Adesk::ulong        ulong;
  67.  
  68. typedef Adesk::ErrorCode    ErrorCode;
  69. typedef Adesk::Boolean        Boolean;
  70.  
  71. enum
  72. {
  73.     kTrue                   = Adesk::kTrue,
  74.     kFalse                  = Adesk::kFalse
  75. };
  76.  
  77. enum
  78. {
  79.     eGood                   = Adesk::eGood,
  80.     eBad                    = Adesk::eBad,
  81.     eInsufficientMemory     = Adesk::eInsufficientMemory
  82. };
  83.  
  84. #define kInt8Min        Adesk::kInt8Min
  85. #define kInt8Max        Adesk::kInt8Max
  86. #define kInt16Min        Adesk::kInt16Min
  87. #define kInt16Max        Adesk::kInt16Max
  88. #define kUInt8Max        Adesk::kUInt8Max
  89. #define kUInt16Max        Adesk::kUInt16Max
  90.  
  91. #endif
  92.